<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 页面顶部 -->
    <div id="hd">
        <!-- 顶部 -->
        <div class="top">
            
        </div>
    </div>
</body>
</html>
<style>
    body{
        margin: 0;
        padding: 0;
    }
    #hd .top{
    width: 100%;
    background-color: #f9f9f9;
    height: 34px;
    line-height: 34px;

}
</style>